package com.zhuss.repair.db.dao.ext;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import com.zhuss.bean.bo.repair.repair.SearchRepairBo;
import com.zhuss.bean.vo.food.food.DetailFoodVo;
import com.zhuss.bean.vo.repair.repair.DetailRepairVo;
import com.zhuss.bean.vo.repair.repair.ListRepairVo;
import com.zhuss.repair.db.dao.gen.RepairMapper;
import com.zhuss.repair.db.entity.Repair;
import com.zhuss.repair.db.entity.RepairAudit;
import com.zhuss.repair.db.entity.RepairOver;

@Mapper
public interface RepairOverDao {

	//添加反馈信息
	@Insert("INSERT INTO t_repair_over (repair_id,reply_userid,reply_time,reply_content,step,audit) VALUES (#{repair_id,jdbcType=INTEGER},#{reply_userid,jdbcType=INTEGER},NOW(),#{reply_content,jdbcType=VARCHAR},#{step,jdbcType=INTEGER},#{audit,jdbcType=INTEGER})")
	void insertRepairOver(RepairOver repairOver);

	@Delete("DELETE from t_repair_over where repair_id = #{repair_id}")
	void clearRepairOver(RepairOver repairOver);
    
}